package com.bcinfo.iccard.model;

import java.io.Serializable;
import java.sql.Timestamp;

public class RechargeableCardInfo implements Serializable
{

    /**  
     * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
     */
    private static final long serialVersionUID = -4963350661798523005L;

    /**
     * @Fields rechargeableCardId : 充值卡ID
     */
    private Long              rechargeableCardId;

    /**
     * @Fields rechargeableCardNum : 充值卡号
     */
    private String            rechargeableCardNum;

    /**
     * @Fields rechargeableCardPwd : 密码
     */
    private String            rechargeableCardPwd;

    /**
     * @Fields rechargeableCardAccountTotal : 剩余金额
     */
    private Float             rechargeableCardAccountTotal;

    /**
     * @Fields rechargeableCardType : 充值卡类型
     */
    private Short             rechargeableCardType;

    /**
     * @Fields rechargeableCardValidTime :有效使用期
     */
    private Timestamp              rechargeableCardValidTime;

    /**
     * @Fields rechargeableCardStatus : 充值卡状态
     */
    private Short             rechargeableCardStatus;

    /**
     * @Fields opDate : 操作时间
     */
    private Timestamp              opDate;

    /**
     * @Fields op : 操作人员
     */
    private Integer           op;

    /**
     * @Fields rechargeableCardCrediAmount : 充值金额
     */
    private Float             rechargeableCardCreditAmount;

    /**
     * @Fields rechargeableCardCreditTime : 充值时间
     */
    private Timestamp              rechargeableCardCreditTime;

    /**
     * @Fields rechargeType : 充值方式
     */
    private Short             rechargeType;

    /**
     * @Fields userId : 操作人员
     */
    private Long              userId;

    /*
     * @Fields userName : 操作名称
     */
    private String            userName;

    /**
     * @Fields rechargeableCardRechargeSum : 充值总额
     */
    private Float             rechargeableCardRechargeSum;

    /**
     * @Fields rechargeableCardCaneledSum : 退款总额
     */
    private Float             rechargeableCardCaneledSum;

    /**
     * @Fields usePercent : 有效使用比列
     */
    private Float             usePercent;


    public Integer getOp()
    {
        return op;
    }

    public void setOp(Integer op)
    {
        this.op = op;
    }

    public Long getRechargeableCardId()
    {
        return rechargeableCardId;
    }

    public void setRechargeableCardId(Long rechargeableCardId)
    {
        this.rechargeableCardId = rechargeableCardId;
    }

    public String getRechargeableCardNum()
    {
        return rechargeableCardNum;
    }

    public void setRechargeableCardNum(String rechargeableCardNum)
    {
        this.rechargeableCardNum = rechargeableCardNum;
    }

    public String getRechargeableCardPwd()
    {
        return rechargeableCardPwd;
    }

    public void setRechargeableCardPwd(String rechargeableCardPwd)
    {
        this.rechargeableCardPwd = rechargeableCardPwd == null ? null : rechargeableCardPwd.trim();
    }

    public Float getRechargeableCardAccountTotal()
    {
        return rechargeableCardAccountTotal;
    }

    public void setRechargeableCardAccountTotal(Float rechargeableCardAccountTotal)
    {
        this.rechargeableCardAccountTotal = rechargeableCardAccountTotal;
    }

    public Short getRechargeableCardType()
    {
        return rechargeableCardType;
    }

    public void setRechargeableCardType(Short rechargeableCardType)
    {
        this.rechargeableCardType = rechargeableCardType;
    }


    public Short getRechargeableCardStatus()
    {
        return rechargeableCardStatus;
    }

    public void setRechargeableCardStatus(Short rechargeableCardStatus)
    {
        this.rechargeableCardStatus = rechargeableCardStatus;
    }

    public Timestamp getRechargeableCardValidTime()
    {
        return rechargeableCardValidTime;
    }

    public void setRechargeableCardValidTime(Timestamp rechargeableCardValidTime)
    {
        this.rechargeableCardValidTime = rechargeableCardValidTime;
    }

    public Timestamp getOpDate()
    {
        return opDate;
    }

    public void setOpDate(Timestamp opDate)
    {
        this.opDate = opDate;
    }

    public Timestamp getRechargeableCardCreditTime()
    {
        return rechargeableCardCreditTime;
    }

    public void setRechargeableCardCreditTime(Timestamp rechargeableCardCreditTime)
    {
        this.rechargeableCardCreditTime = rechargeableCardCreditTime;
    }

    public Short getRechargeType()
    {
        return rechargeType;
    }

    public void setRechargeType(Short rechargeType)
    {
        this.rechargeType = rechargeType;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Float getRechargeableCardCreditAmount()
    {
        return rechargeableCardCreditAmount;
    }

    public void setRechargeableCardCreditAmount(Float rechargeableCardCreditAmount)
    {
        this.rechargeableCardCreditAmount = rechargeableCardCreditAmount;
    }

    /**
     * @return the userName
     */
    public String getUserName()
    {
        return userName;
    }

    /**
     * @param userName
     *            the userName to set
     */
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public Float getRechargeableCardRechargeSum()
    {
        return rechargeableCardRechargeSum;
    }

    public void setRechargeableCardRechargeSum(Float rechargeableCardRechargeSum)
    {
        this.rechargeableCardRechargeSum = rechargeableCardRechargeSum;
    }

    public Float getRechargeableCardCaneledSum()
    {
        return rechargeableCardCaneledSum;
    }

    public void setRechargeableCardCaneledSum(Float rechargeableCardCaneledSum)
    {
        this.rechargeableCardCaneledSum = rechargeableCardCaneledSum;
    }

    public Float getUsePercent()
    {
        return usePercent;
    }

    public void setUsePercent(Float usePercent)
    {
        this.usePercent = usePercent;
    }

    @Override
    public String toString()
    {
        return "RechargeableCardInfo [rechargeableCardId=" + rechargeableCardId + ", rechargeableCardNum="
                + rechargeableCardNum + ", rechargeableCardPwd=" + rechargeableCardPwd
                + ", rechargeableCardAccountTotal=" + rechargeableCardAccountTotal + ", rechargeableCardType="
                + rechargeableCardType + ", rechargeableCardValidTime=" + rechargeableCardValidTime
                + ", rechargeableCardStatus=" + rechargeableCardStatus + ", opDate=" + opDate + ", op=" + op
                + ", rechargeableCardCreditAmount=" + rechargeableCardCreditAmount + ", rechargeableCardCreditTime="
                + rechargeableCardCreditTime + ", rechargeType=" + rechargeType + ", userId=" + userId + ", userName="
                + userName + ", rechargeableCardRechargeSum=" + rechargeableCardRechargeSum
                + ", rechargeableCardCaneledSum=" + rechargeableCardCaneledSum + ", usePercent=" + usePercent + "]";
    }

}